<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>仪表盘 - FinalCMS Admin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<link rel="stylesheet" href="${ctx}/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/css/font-awesome.min.css" />
<link rel="stylesheet" href="${ctx}/css/jquery-ui.custom.min.css" />
<link rel="stylesheet" href="${ctx}/css/fc-fonts.css" />
<link rel="stylesheet" href="${ctx}/css/fc.min.css" />
<link rel="stylesheet" href="${ctx}/css/jquery.gritter.css" />
<!--[if lte IE 9]>
	<link rel="stylesheet" href="${ctx}/css/fc-part2.min.css" />
<![endif]-->
<link rel="stylesheet" href="${ctx}/css/fc-skins.min.css" />
<link rel="stylesheet" href="${ctx}/css/fc-rtl.min.css" />

<style type="text/css">
	thead th{
 		align: center; 
	}
	.colmun-data tr{
/* 		height: 40px; */
	}
	.colmun-data tr td{
/* 		height: 20px; */
	}
</style>
<!--[if lte IE 9]>
  <link rel="stylesheet" href="${ctx}/css/fc-ie.min.css" />
<![endif]-->

<!--[if lte IE 8]>
<script src="${ctx}/js/html5shiv.js"></script>
<script src="${ctx}/js/respond.min.js"></script>
<![endif]-->

	<!--[if !IE]> -->
	<script type="text/javascript">
		window.jQuery
				|| document.write("<script src='${ctx}/js/jquery2.1.0.min.js'>"
						+ "<"+"/script>");
	</script>
	<!-- <![endif]-->

	<!--[if IE]>
	<script type="text/javascript">
	 	window.jQuery || document.write("<script src='${ctx}/js/jquery1.11.0.min.js'>"+"<"+"/script>");
	</script>
	<![endif]-->
</head>

<body class="no-skin">
	<?include("../../inc/menu.html",{current:"post_article"}){}?>
	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">
			<script type="text/javascript">
				try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
			</script>

			<ul class="breadcrumb">
				<li><i class="ace-icon fa fa-home home-icon"></i> <a
					href="${ctx}/admin/index">首页</a></li>
				<li class="active">栏目分类</li>
			</ul>
		</div>

		<div class="page-content">
			<?include("../../inc/function.html"){}?>
			<div class="page-header">
				<h1>栏目分类</h1>
			</div>
			<!-- /.page-header -->
			<div class="row">
				<div class="searchzone">
					<table cellspacing="0" cellpadding="0" border="0" width="100%" height="30">
					 	 <tbody>
					 		 <tr>
						    	<td height="30">&nbsp;</td>
						   	 	<td align="right" colspan="2">
						   	 		<a target="_self" onclick="allshowHide('1');" href="###">全部收起</a>
						   	 	 	<a target="_self" onclick="allshowHide('0');" href="###">全部展开</a>
								    <input type="button" class="button" value="添加分类" onclick="location.href='addColumn'"> 
								    <input type="button" class="button" value="刷新" onclick="location.href=''"> 
								</td>
							 </tr>
						 </tbody>
					</table>
				</div>
				<div class="table-container col-xs-12" style=" border: 1px; padding: 5px 1px; left: 0; richness: 0;">
					<table class="table table-striped  table-hover" style="margin-bottom: 0;">
						<thead>
							<tr>
							   <th width="50px" >选择</th>
							   <th>栏目名称</th>
							   <th width="100px">类型</th>	
							   <th width="250px">链接</th>
							   <th width="50px">状态</th>
							   <th width="200px" style="text-align: center;">操作</th>			
							</tr>
						</thead>
						<tbody class="colmun-data">
							<#fc:columnList />
						</tbody>
					</table>
				</div>
		  </div> <!-- end row -->
	</div>
		<!-- /.page-content -->
</div>
	<!-- /.main-content -->

	<?include("../../inc/footer.html"){}?>
	
	<script type="text/javascript">
		if ('ontouchstart' in document.documentElement)
			document.write("<script type='text/javascript' src='${ctx}/js/jquery.mobile.custom.min.js'>" + "<"+"/script>");
	</script>
	<script type="text/javascript" src="${ctx}/js/bootstrap.min.js"></script>

	<!--[if lte IE 8]>
		  <script type="text/javascript" src="${ctx}/js/excanvas.min.js"></script>
	<![endif]-->
	
	<!-- 消息提示框插件 -->
	<script type="text/javascript" src="${ctx}/js/jquery.gritter.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/fc-extra.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/fc.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/utils/util.js"></script>
	<script type="text/javascript">
		if("${msg!}" != ''){
			$.gritter.add({
				title:  '提示' ,
				sticky: false, //提示框是否不消失
				text: "${msg!}",
				class_name: 'gritter-center ' + ("${msgStatus!'1'}" == '1' ? "gritter-success" : "gritter-error")
			});
	    }
	</script>
</body>
</html>
